WP_Defender\Component\Blacklist_Lockout A

Total Complexity 61
Dependencies 8
Dependents 12
Total lines 367
Lines of code 216
Logical lines of code 129
Comment lines 105
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
is_geodb_downloaded()
B
39 19 62
fetch_latest_ips()
S
53 6 24
verify_import_file()
S
52 6 23
is_country_blacklist()
S
56 6 18
is_ip_whitelisted()
S
58 6 15
is_country_whitelist()
S
58 5 15
get_top_countries_blocked()
S
55 3 19
add_default_whitelisted_country()
S
66 3 8
are_ips_whitelisted()
S
67 3 8
get_default_ip_whitelisted()
S
63 2 10
is_blacklist()
S
75 1 4
is_blc_ip_whitelisted()
S
65 1 10